
/* 入库管理 */
const larger = resolve => require(["@/containers/merchandiseManagement/categories/larger"],resolve);
const medium = resolve => require(["@/containers/merchandiseManagement/categories/medium"],resolve);
const small = resolve => require(["@/containers/merchandiseManagement/categories/small"],resolve);

const styleInfo = resolve => require(["@/containers/merchandiseManagement/commodityStyle/styleInfo"],resolve);
const moreDetail =  resolve => require(["@/containers/merchandiseManagement/commodityStyle/styleInfo/detial"],resolve);//更多 详情页

const attrList = resolve => require(["@/containers/merchandiseManagement/commodityAttr/attrList"],resolve);
const labelDetail = resolve => require(["@/containers/merchandiseManagement/commodityAttr/attrList/detial"],resolve);
const attrListMsg = resolve => require(["@/containers/merchandiseManagement/commodityAttr/attrList/msg"],resolve);

// const commodityLabel = resolve => require(["@/containers/merchandiseManagement/commodityAttr/commodityLabel"],resolve);

const attribute =  resolve => require(["@/containers/merchandiseManagement/basicDefine/attribute"],resolve);


export default [
	/* 入库管理 */
	{
		path: 'larger',
		name: 'larger',
		module: 'merchandise',
		className: '商品分类',
		label: '产品大类',
		component: larger
	},
	{
		path: 'medium',
		name: 'medium',
		module: 'merchandise',
		className: '商品分类',
		label: '产品中类',
		component: medium
	},
	{
		path: 'small',
		name: 'small',
		module: 'merchandise',
		className: '商品分类',
		label: '产品小类',
		component: small
	},
	{
		path: 'styleInfo',
		name: 'styleInfo',
		module: 'merchandise',
		className: '商品款式',
		label: '款式信息',
		component: styleInfo
	},
	//款式信息的'更多'页面
	{
        path: 'moreDetail',
        name: 'moreDetail',
        module: 'merchandise',
        unlist: true,
        className: '商品款式',
        label: '款式信息',
        generatedBy: 'styleInfo',
        component: moreDetail
    },
    //
	{
		path: 'attrList',
		name: 'attrList',
		module: 'merchandise',
		className: '商品属性',
		label: '商品属性列表',
		component: attrList
	},
	//商品属性列表 -> 添加标签页
	{
        path: 'labelDetail',
        name: 'labelDetail',
        module: 'merchandise',
        unlist: true,
        className: '商品属性',
        label: '商品属性列表',
        generatedBy: 'attrList',
        component: labelDetail
    },
    //商品属性列表 -> 详情页
	{
        path: 'attrListMsg',
        name: 'attrListMsg',
        module: 'merchandise',
        unlist: true,
        className: '商品属性',
        label: '商品属性列表',
        generatedBy: 'attrList',
        component: attrListMsg
    },
/*	{
		path: 'commodityLabel',
		name: 'commodityLabel',
		module: 'merchandise',
		className: '商品属性',
		label: '商品标签',
		component: commodityLabel
	},*/
	{
		path: 'attribute',
		name: 'attribute',
		module: 'merchandise',
		className: '基础定义',
		label: '属性',
		component: attribute
	},
]
